package com.cxx.purchasecharge.component.bean.auditlog;

import java.util.List;

import com.cxx.purchasecharge.component.bean.BaseBean;
import com.cxx.purchasecharge.core.model.LogTypeCode;

public class LogBean extends BaseBean
{
    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 操作类型：1插入;2更新;3删除
     */
    private LogTypeCode type = LogTypeCode.INSERT;
    private String userId;
    private String tableId;
    private String tableName;
    private String dateTime;
    private String comment;

    private List <LogContentBean> contentBeans;

    public String getId ()
    {
        return id;
    }

    public void setId (String id)
    {
        this.id = id;
    }

    public LogTypeCode getType ()
    {
        return type;
    }

    public void setType (LogTypeCode type)
    {
        this.type = type;
    }

    public String getUserId ()
    {
        return userId;
    }

    public void setUserId (String userId)
    {
        this.userId = userId;
    }

    public String getTableId ()
    {
        return tableId;
    }

    public void setTableId (String tableId)
    {
        this.tableId = tableId;
    }

    public String getTableName ()
    {
        return tableName;
    }

    public void setTableName (String tableName)
    {
        this.tableName = tableName;
    }

    public String getDateTime ()
    {
        return dateTime;
    }

    public void setDateTime (String dateTime)
    {
        this.dateTime = dateTime;
    }

    public String getComment ()
    {
        return comment;
    }

    public void setComment (String comment)
    {
        this.comment = comment;
    }

    public List <LogContentBean> getContentBeans ()
    {
        return contentBeans;
    }

    public void setContentBeans (List <LogContentBean> contentBeans)
    {
        this.contentBeans = contentBeans;
    }
}
